package com.hrt.manage.resource.service;

import java.util.List;

import com.hrt.bean.Resources;

public interface ResourceService {

	public List<Resources> getProductResource(Long proId,
			Integer isgift, Integer resType, Integer pageIndex, Integer pageSize);
	
	public List<Resources> getProductResource(Long proId,
			Integer resourceType);


	/**
	 * 保存资源
	 * @param resource
	 * @return
	 */
	public Long saveResource(Resources resource);

	
	/**
	 * 
	 * @param proId
	 * @return
	 */
	public Long countResourceByProductId(Long proId);
}
